package com.gold.consumerdemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
@EnableFeignClients
public class GoldConsumerDemoApplication {
	/**
	 * 访问地址： http://localhost:9101/gold-consumer-demo/sayHello?name=wang
	 * @param args
	 */
	public static void main(String[] args) {
		SpringApplication.run(GoldConsumerDemoApplication.class, args);
	}
}
